package com.gree.flowable.app.services;

import org.flowable.ui.modeler.domain.Model;
import org.flowable.ui.modeler.model.ModelRepresentation;

public interface IFlowableModelService {
    /**
     * 参照modelService写的创建模型的方法
     */
    Model createModel(ModelRepresentation model, String editorJson, String userId);

    Model saveModel(String modelId, String name, String key, String description, String editorJson,
                    boolean newVersion, String newVersionComment, String updatedBy);
}
